More default property value fixes
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 28 Dec 2007 18:10:32 +0000 (18:10 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 28 Dec 2007 18:10:32 +0000 (18:10 +0000)
svn path=/trunk/; revision=19278

ChangeLog
gtk/gtkprintoperation.c
gtk/gtkprogressbar.c

index b5e8fe6f6cdf3766dd3d572f5ad6e00c8f1239e6..dbe7994a32aab0dedf44dffb0e33ee30ef30ff6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkprintoperation.c:
+       * gtk/gtkprogressbar.c:
        * gtk/gtkmessagedialog.c:
        * gtk/gtknotebook.c:
        * gtk/gtkprinter.c:
index d08f2550674d9a6ad66b83c5235ae3e9811f8dea..14b3a6a76268a0b10f32a7904ddfb105d72fc7c7 100644 (file)
@@ -164,6 +164,8 @@ gtk_print_operation_init (GtkPrintOperation *operation)
   priv->unit = GTK_UNIT_PIXEL;
 
   appname = g_get_application_name ();
+  if (appname == NULL)
+    appname = "";
   /* translators: this string is the default job title for print
    * jobs. %s gets replaced by the application name, %d gets replaced
    * by the job number.
index 53b746bd64226b736f80cc1e8fde550dde1a4c2b..babb6ac9ec5143fd7725df4ba15ea14e1faebacf 100644 (file)
@@ -187,7 +187,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
                                   g_param_spec_string ("text",
                                                        P_("Text"),
                                                        P_("Text to be displayed in the progress bar"),
-                                                       "%P %%",
+                                                       NULL,
                                                        GTK_PARAM_READWRITE));
 
   /**